package com.logistics.system.domain;

import java.math.BigDecimal;
import com.logistics.common.core.annotation.Excel;
import com.logistics.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 支付订单对象 pay_trade
 * 
 * @author logistics
 * @date 2024-06-23
 */
public class PayTrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 支付订单id */
    private Long tradeId;

    /** 运单id */
    @Excel(name = "运单id")
    private Long waybillId;

    /** 支付订单号 */
    @Excel(name = "支付订单号")
    private String tradeNo;

    /** 支付订单类型 */
    @Excel(name = "支付订单类型")
    private String tradeStatus;

    /** 付款人  */
    @Excel(name = "付款人 ")
    private Long payer;

    /** 付款人名 */
    @Excel(name = "付款人名")
    private String payerName;

    /** 收款人 */
    @Excel(name = "收款人")
    private Long payee;

    /** 收款人名 */
    @Excel(name = "收款人名")
    private String payeeName;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal price;

    public void setTradeId(Long tradeId) 
    {
        this.tradeId = tradeId;
    }

    public Long getTradeId() 
    {
        return tradeId;
    }
    public void setWaybillId(Long waybillId) 
    {
        this.waybillId = waybillId;
    }

    public Long getWaybillId() 
    {
        return waybillId;
    }
    public void setTradeNo(String tradeNo) 
    {
        this.tradeNo = tradeNo;
    }

    public String getTradeNo() 
    {
        return tradeNo;
    }
    public void setTradeStatus(String tradeStatus) 
    {
        this.tradeStatus = tradeStatus;
    }

    public String getTradeStatus() 
    {
        return tradeStatus;
    }
    public void setPayer(Long payer) 
    {
        this.payer = payer;
    }

    public Long getPayer() 
    {
        return payer;
    }
    public void setPayerName(String payerName) 
    {
        this.payerName = payerName;
    }

    public String getPayerName() 
    {
        return payerName;
    }
    public void setPayee(Long payee) 
    {
        this.payee = payee;
    }

    public Long getPayee() 
    {
        return payee;
    }
    public void setPayeeName(String payeeName) 
    {
        this.payeeName = payeeName;
    }

    public String getPayeeName() 
    {
        return payeeName;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("tradeId", getTradeId())
            .append("waybillId", getWaybillId())
            .append("tradeNo", getTradeNo())
            .append("tradeStatus", getTradeStatus())
            .append("payer", getPayer())
            .append("payerName", getPayerName())
            .append("payee", getPayee())
            .append("payeeName", getPayeeName())
            .append("price", getPrice())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
